//
//  Type.m
//  CarTown
//
//  Created by xionghao on 15/9/1.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "Type.h"

@implementation Type
+(instancetype)typeWithDict:(NSDictionary *)dict{
    Type *type=[[Type alloc]init];
    [type setValuesForKeysWithDictionary:dict];
    return type;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ID=value;
    }
}
@end
